package com.cloudcode.common.exception.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author yunst
 * @Description file异常
 * @Date 2020/7/7 15:52
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class TokenException extends RuntimeException {
    private static final long serialVersionUID = -4099188327304169206L;
    public int code;
    public String message;

    public TokenException(String message) {
        super(message);
        this.message = message;
    }
}
